;(function () {
	$(function() {
		$("img.lazy").lazyload({
			placeholder: "./images/loading.gif",
			effect: "fadeIn",
			// threshold :180
		});

		$(".btn>a").on("click",function(){

			console.log($(document).scrollTop())
			$("html").animate({
				scrollTop:0
			},500)
		})

			$(".box").on("click",".gogoodlist",function () {

				location="./goodlist.html"
			})

		$(".box").on("mouseenter",".theEvent",function () {
			$(this).find(".lazy").addClass("pulse animated")
			$(this).find(".imgTxt").show(200)
		}).on("mouseleave",".theEvent",function () {
			$(this).find(".imgTxt").hide(200)
			$(this).find(".lazy").removeClass("pulse animated")
		})



	});

})()